POV-Ray : Newsgroups : povray.newusers : camera setup for a skybox : Re: camera setup for a skybox Server Time
29 Jul 2024 10:27:40 EDT (-0400)
  Re: camera setup for a skybox  
From: emzic
Date: 28 Feb 2006 08:21:25
Message: <Xns9778920C76B0BemzicNOSPAMembegecom@203.29.75.35>
"helge_h" <nomail@nomail> wrote in
news:web.44044a50a7dd28121c6902970@news.povray.org: 

> "helge_h" <nomail@nomail> wrote:
>> emzic <emz### [at] SPAMembegecom> wrote:
>> > hello,
>> >
>> > i want to generate 6 quadratic images to be used as skybox textures
>> > in a game. but unfortunately i have no idea how to set up the
>> > camera correctly besides that it has to look into the 6 different
>> > directions. 
>> >
>> > i would be very grateful for any help on this.
>> >
>> > thank you!
>>
>> maybe this can help:
> 
> sorry, the url was too long; try this:
> 
> http://tinyurl.com/pctrj

thank you!

unfortunately those six images dont fit together at all. i was even 
trying to stitch them together in photoshop but couldnt find any matching 
edges.

meanwhile i could create matching front, back, left and right textures 
using an angle of 90.

camera {
	location <0, 0, 0> 
	look_at <1, 0, 0> //vary the direction here
    	angle 90
}   

just the top and bottom textures dont seem to match when i use look_at
<0,-1,0> and <0,1,0>

thank you for any help!


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.